package com.dyzx.hbb.modules.wms.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
@Schema(description = "库存信息更新")
public class WmsInventoryUVO {
    /**
     * ID
     */
    @Schema(description = "ID")
    @JsonProperty("id")
    @NotNull(message = "ID不能为空")
    private Long id;

    /**
     * 状态 字典信息：sys_global_status
     */
    @Schema(description = "状态 字典信息：sys_global_status")
    @JsonProperty("status")
   // @NotNull(message = "状态不能为空")
    private Integer status;

    /**
     * 商品
     */
    @Schema(description = "商品ID")
    @JsonProperty("product_id")
  //  @NotNull(message = "商品不能为空")
    private Long productId;

    /**
     * 仓库
     */
    @Schema(description = "仓库ID")
    @JsonProperty("house_id")
   // @NotNull(message = "仓库不能为空")
    private Long houseId;

    /**
     * 数量
     */
    @Schema(description = "数量")
    @JsonProperty("quantity")
    //@NotNull(message = "数量不能为空")
    private Integer quantity;

    /**
     * 货位
     */
    @Schema(description = "货位ID")
    @JsonProperty("location_id")
   // @NotNull(message = "货位不能为空")
    private Long locationId;

    /**
     * 货位区域
     */
    @Schema(description = "货位区域ID")
    @JsonProperty("location_area_id")
   // @NotNull(message = "货位区域不能为空")
    private Long locationAreaId;
}